package com.ibangnuo.api.order;

import com.ibangnuo.framework.domain.request.order.SuccessionSettlementQueryRequest;
import com.ibangnuo.framework.model.response.ObjectResult;
import com.ibangnuo.framework.model.response.QueryResponseResult;
import com.ibangnuo.framework.model.response.ResponseResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

/**
 * @Author: wwy
 * @Date: 2020-01-02 17:04
 */
@Api(value="交班结算",description = "交班结算，查询，添加")
public interface SuccessionSettlementControllerApi {

    @ApiOperation("查询交班计算列表")
    QueryResponseResult findList(int page, int size, SuccessionSettlementQueryRequest successionSettlementQueryRequest);

    @ApiOperation("根据时间范围查询交班记录")
    ObjectResult querySuccSet(SuccessionSettlementQueryRequest successionSettlementQueryRequest);

    @ApiOperation("添加交班记录")
    ResponseResult add(String redisId);

    @ApiOperation("根据id查询交班记录")
    ObjectResult findById(String id);

}
